﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TestWebGrid.Models;

namespace TestWebGrid.Controllers
{
    public class WebGridTestController : Controller
    {
        //
        // GET: /WebGridTest/

        public ActionResult Index()
        {

            IList<WebModel> list = new List<WebModel>();
            for (int i = 0; i < 100; i++)
            {
                list.Add(new WebModel()
                    {
                        name = "name",
                        name1 = "name1",
                        name2 = "name2",
                        name3 = "name3",
                        name4 = "name4",
                        name5 = "name5"
                    });
            }


            return View(list);
        }

    }
}
